﻿using System;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
using YArchitech.LIB;

namespace HYElectricDim
{
	public partial class CableTrenchPlanEdit : System.Windows.Forms.Form
	{
		public CableTrenchPlanEdit(string strPlanName, bool bCopy)
		{
			this.InitializeComponent();
			this.txtPlanName.Text = strPlanName;
			if (bCopy)
			{
				this.Text = "添加方案";
			}
			else
			{
				this.Text = "编辑方案";
			}
			base.Icon = Resource.YArchitechIcon;
		}

		private void button2_Click(object sender, EventArgs e)
		{
			this.planName = this.txtPlanName.Text;
		}

		public string planName = "";
	}
}
